package com.topnav.mc.sse;

import lombok.Data;

/**
 * @Author: kenny
 * @Date: 2023/11/8 13:59
 */
@Data
public class MessageBean {
    private Long userId;
    private String userName;
    /** 警员所属单位 ID */
    private Long orgId;
    /** 警员所属单位path */
    private String orgPath;

    private EnumSseMessageType type;

    //消息体
    private Object message;

    public MessageBean(EnumSseMessageType type){
        this.type = type;
    }
}
